#!/usr/bin/env python
# coding: utf-8

import tt
import unittest


class TranslatorTest(unittest.TestCase):
  def setUp(self):
    pass

  def testSimpleSentenceFromEnglishToAkan(self):
    text = 'i love him'
    expected_translated_text = 'me dɔ wo'
    self.assertEquals(expected_translated_text, tt.translate(text, 'en', 'ak'))
    text = 'i see you'
    expected_translated_text = 'me hu wo'
    self.assertEquals(expected_translated_text, tt.translate(text, 'en', 'ak'))

  
if __name__ == "__main__":
  unittest.main()
